<%--
  Created by IntelliJ IDEA.
  User: cyliu
  Date: 2021-08-20
  Time: 16:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>用户信息</title>
</head>
<body>
   <h1>用户信息</h1>
   <a href="${pageContext.request.contextPath}/user/transfer">我要转账</a>
    <table>
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>用户名</th>
            <th>密码</th>
        </tr>
        <c:forEach items="${userList}" varStatus="s" var="user">
        <tr>
            <td>${s.count}</td>
            <td>${user.name}</td>
            <td>${user.username}</td>
            <td>${user.password}</td>
            <td>${user.cash}元</td>
        </tr>
        </c:forEach>
    </table>
</body>
</html>
